﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MN.Framework.Common
{
    [Serializable]
    public class ImageColumnInfo : ColumnInfo
    {
        // Methods
        public ImageColumnInfo(string name, string defaultText, ColumnSize size = ColumnSize.XLarg)
            : base(ColumnType.Image, typeof(byte[]), name, defaultText, size)
        {
        }       

        // Properties
        public override bool AllowFiltering
        {
            get
            {
                return false;
            }
        }

        public override bool AllowSorting
        {
            get
            {
                return false;
            }
        }
    }
}
